package com.xq.jltx.bean;

/**
 * @author jltxseo
 * Created by junlintianxia on 2019/04/23.
 */
public class DataBean {
    private int age;
    private long dataId;
    private String dataName;
    private boolean isLocal;

    public DataBean() {
    }

    public DataBean(long dataId) {
        this.dataId = dataId;
    }

    public DataBean(String dataName) {
        this.dataName = dataName;
    }

    public DataBean(boolean isLocal) {
        this.isLocal = isLocal;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public long getDataId() {
        return dataId;
    }

    public void setDataId(long dataId) {
        this.dataId = dataId;
    }

    public String getDataName() {
        return dataName;
    }

    private void setDataName(String dataName) {
        this.dataName = dataName;
    }

    public boolean isLocal() {
        return isLocal;
    }

    public void setLocal(boolean local) {
        isLocal = local;
    }

    @Override
    public String toString() {
        return "DataBean{" +
                "age=" + age +
                ", dataId=" + dataId +
                ", dataName='" + dataName + '\'' +
                ", isLocal=" + isLocal +
                '}';
    }
}
